package com.gegong.imr.client.vbox.cmd;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class VmSettings {


    @Data
    @NoArgsConstructor
    @Builder
    public static class BasicSetting {
        private String name;


        public BasicSetting(String name) {
            this.name = name;
        }
    }


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public static class NetworkAdapterSetting {
        private long slot;
        private String macAddress;


        public NetworkAdapterSetting(int slot, String macAddress) {
            this.slot = slot;
            this.macAddress = macAddress;
        }
    }


    private BasicSetting basicSetting;
    private List<NetworkAdapterSetting> networkAdapterSettings;


}





